package com.kern.academic.repository;

import com.kern.academic.entity.XUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by caoshi at 8:46 2021-06-26
 */
public interface IUserRepository extends JpaSpecificationExecutor<XUser>, JpaRepository<XUser, String> {

    XUser findByUsernameAndPassword(String username, String password);

}
